package org.honeyweb.gsoc.services;

import java.util.ArrayList;

import org.honeyweb.gsoc.model.Honeypots;
import org.honeyweb.gsoc.model.Organizations;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author thibaut
 *
 */
public interface HoneypotsManager {
	
	/**
	 * @param organisation
	 * @return ArrayList<Honeypots>
	 */
	public ArrayList<Honeypots> getHoneypots(Organizations organisation);
	
	/**
	 * @param organisation
	 * @return ArrayList<Honeypots>
	 */
    @Transactional (readOnly=false)
    public Honeypots addHoneypot(String name,String url,String country);
    
	/**
	 * @param organisation
	 * @return ArrayList<Honeypots>
	 */
    @Transactional (readOnly=false)
    public Honeypots delHoneypot(int honeypotId);
}

